package com.mcarrot.site.dao;

import java.util.List;

import com.mcarrot.site.common.Constants;
import com.mcarrot.site.model.Message;

public interface MessageDAO extends Constants{
	Integer saveOrUpdate(Message message);
	Integer del(Message message);
	Message findById(Integer messageId);
	List<Message> list();
	List<Message> listByCondition(Message message);
}
